﻿using System.Web.Mvc;
using System.Web.Mvc.Html;
using System.Web.Routing;

namespace LoginPortableArea
{
	public static class HtmlHelperExtensions
	{
		public static MvcHtmlString LogoffLink(this HtmlHelper helper)
		{
			return helper.ActionLink("Log Off", "logout", "Login", new {area = "login"}, null);			
		}
		public static MvcHtmlString LoginLink(this HtmlHelper helper)
		{
			return helper.ActionLink("Log On", "Index", "Login", new { area = "login" }, null);
		}
	}
}